package society.framework.core;

import java.util.ArrayList;
import java.util.List;

public class SocietyInformation {
	public static final String UI_MANAGER_NAME = "UIManager";
	public static final int RECONNECTION_TIMEOUT_FOR_TRANSFERS = 5000;
	
	private static List<String> remoteSocietyAddresses;
	private static int remoteMessagingPort, automataTransferPort;
	
	private SocietyInformation(){}
	
	static{
		remoteSocietyAddresses = new ArrayList<String>();
		remoteMessagingPort = 2203;
		automataTransferPort = 2204;
	}

	public static List<String> getRemoteSocietyAddresses() {
		return remoteSocietyAddresses;
	}

	public static void setRemoteSocietyAddresses(List<String> remoteSocietyAddresses) {
		SocietyInformation.remoteSocietyAddresses = remoteSocietyAddresses;
	}

	public static int getRemoteMessagingPort() {
		return remoteMessagingPort;
	}

	public static void setRemoteMessagingPort(int remoteMessagingPort) {
		SocietyInformation.remoteMessagingPort = remoteMessagingPort;
	}

	public static int getAutomataTransferPort() {
		return automataTransferPort;
	}

	public static void setAutomataTransferPort(int automataTransferPort) {
		SocietyInformation.automataTransferPort = automataTransferPort;
	}
}
